package com.wechat.msg;

import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;

import com.swak.utils.CDataAdapter;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * 请求消息
 * 
 * @author 618lf
 */
@Getter
@Setter
@Accessors(chain = true)
@XmlRootElement(name = "Msg")
public class TextMsg extends TxtMsg {

	private static final long serialVersionUID = 1L;
	private String path;
	private Integer length;

	@XmlJavaTypeAdapter(CDataAdapter.class)
	public String getPath() {
		return path;
	}
}
